package com.poc.domain;

public enum TaskStatus {

    completed(1, "completed"),
    pending(2, "pending"),
    failed(3, "failed"),
    ignore(4, "ignore");

    private final Integer code;
    private final String status;


    public Integer code() {
        return this.code;
    }

    public String getStatus() {
        return status;
    }

    TaskStatus(Integer code, String status) {
        this.code = code;
        this.status = status;
    }
}